package com.example.permission.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.permission.dao.RegionMapper;
import com.example.permission.service.RegionService;
import com.example.platformsharedcommon.entity.permission.Region;
import com.example.platformsharedcommon.entity.permission.RegionExample;

@Service
public class RegionServiceImpl implements RegionService {
	@Autowired
	private RegionMapper regionMapper;

	@Override
	public List<Region> listRegion() {
		return regionMapper.selectByExample(new RegionExample());
	}

}
